package com.bbm.communitysystem.domain.dto.post;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author xieling
 * @version 1.0
 */
@Data
@Schema(description = "点赞表")
public class LikePostDto {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 帖子来源
     * */
    @Schema(description = "帖子id")
    private Integer sourceId;

    /**
     * 创建人
     * */
    @Schema(description = "点赞用户id")
    private Integer founder;

    /**
     * 0无效点赞1点赞
     * */
    @Schema(description = "点赞状态 0 无效点赞 1 点赞")
    private Integer status;

    /**
     * 评论id
     * */
    @Schema(description = "评论id")
    private Integer commentId;

    /**
     * 点赞类型
     * */
    @Schema(description = "点赞类型 0 帖子 1 评论")
    private Integer type;

}
